using System.Linq;

namespace XFramework
{
    public static class StringExtension
    {
        public static string Remove(this string str, params string[] targets)
        {
            return targets.Aggregate(str, (cur, t) => cur.Replace(t, string.Empty));
        }
    }
}